package com.yongan.warehouse.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.warehouse.entity.GoodType;

public interface GoodTypeDao {

	
	GoodType queryById(String goodTypeId);
	
	List<GoodType> queryAll(@Param("offset")int offset,@Param("limit")int limit);
	
	int insertGoodType(GoodType goodType);
	
	int deleteGoodType(String goodTypeId);
	
	int updateGoodType(GoodType goodType);
	
	int queryCount();
	
	List<GoodType> queryAllTree();
}
